Class CompareThread<T extends java.io.Serializable & java.lang.Comparable<T>>

  • All Implemented Interfaces:
    java.lang.Runnable

    public class CompareThread<T extends java.io.Serializable & java.lang.Comparable<T>>
    extends GraphicThread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      CompareThread​(MyPane _pane)
      konstruktor, priradi pane, z neho tree, tree2 zadefinuje sleep time
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      porovna tree a tree2 vysledok vypise a caka na uzivatela pokial potvrdi ze si informaciu precital
      • Methods inherited from class java.lang.Thread

        activeCount, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CompareThread

        public CompareThread​(MyPane _pane)
        konstruktor, priradi pane, z neho tree, tree2 zadefinuje sleep time
        Parameters:
        _pane - smernik na pane na ktorom bude pracovat
    • Method Detail

      • run

        public void run()
        porovna tree a tree2 vysledok vypise a caka na uzivatela pokial potvrdi ze si informaciu precital
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class GraphicThread